public class ForExercise {
	public static void main(String[] args) {
		int count = 0;
		int sum = 0;
		int fw = 100;
		int num = 9;
		for(int i = 1;i <= fw;i++){
			if(i % num == 0){
				System.out.println("i = " + i);
				count++;
				sum += i;
			}
		}
		System.out.println(sum); 
	}
}